
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>Hugin hdrmerge - PanoTools.org Wiki</title>




<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>

<meta name="generator" content="MediaWiki 1.35.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>





<!--[if lt IE 9]><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Hugin_hdrmerge rootpage-Hugin_hdrmerge skin-vector action-view skin-vector-legacy">


<div id="content" class="mw-body" role="main">
	<a id="top"></a>
	
	
	<h1 id="firstHeading" class="firstHeading" lang="en">Hugin hdrmerge</h1>
	<div id="bodyContent" class="mw-body-content">
		<div id="siteSub" class="noprint">From PanoTools.org Wiki</div>
		
		
		
		
		
		
		<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><p>hdrmerge combines multiple overlapping images into a single HDRI (high dynamic range image). It is useful for combining multiple LDR images into a single HDR image. The input images should be in linear colorspace.
</p><p>There are 2 merge modes available:
</p>
<ul><li>Average: here the average of each pixel is calculated. Over and under exposure pixel are ignored.</li>
<li>Khan: Here the Khan algorithm is used to reduce or eliminate in best case ghosts (e.g. moving objects in the different images).</li></ul>
<h2><a name="Parameters"><span class="mw-headline">Parameters</span></a></h2>
<ul><li><tt>-o|--output prefix</tt>: sets the filename for the output</li>
<li><tt>-v|--verbose</tt>: activates verbose output (for more details during processing).</li>
<li><tt>-h|--help</tt>: Shows the help</li>
<li><tt>-m mode</tt>: Sets the merge mode. Can be <tt>avg</tt> (default) or <tt>khan</tt>.</li></ul>
<p>If the merge mode is average, the follow parameters can be used
</p>
<ul><li><tt>-c</tt>: Only consider pixels that are defined in all images.</li></ul>
<p>The Khan algorithm can be fine tuned with
</p>
<ul><li><tt>-i iter</tt>: Sets the number of iterations to execute (default is 4).</li>
<li><tt>-s sigma</tt>: Sets standard deviation of Gaussian weighting function (sigma &gt; 0); default: 30.</li>
<li><tt>-a set</tt>: Set advanced settings. Possible options are:
<ul><li><tt>f</tt>: use gray images for computation. It's about two times faster but it usually returns worse results.</li>
<li><tt>g</tt>: use gamma 2.2 correction instead of logarithm</li>
<li><tt>m</tt>: do not scale image, NOTE: slows down process</li></ul></li></ul>

<!--
Transclusion expansion time report (%,ms,calls,template)
100.00%    0.000      1 -total
-->


</div></div><div class="printfooter">Retrieved from "<a dir="ltr" href="https://wiki.panotools.org/index.php?title=Hugin_hdrmerge&amp;oldid=15979">https://wiki.panotools.org/index.php?title=Hugin_hdrmerge&amp;oldid=15979</a>"</div>
		</div></div></body></html>